Deploy the uploaded code package for the specified Function, making it runnable.
Rate limit: 100 requests/min (learn more about rate limits here).
To use this endpoint, select Write Functions under the Functions category when creating or editing an API token. Learn More.
Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.
curl --request POST \
--url https://api.samsara.com/functions/{name}/deploy \
--header 'Authorization: Bearer <token>'{
"data": {
"name": "my-function"
}
}Documentation Index
Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://api.samsara.com/functions/{name}/deploy \
--header 'Authorization: Bearer <token>'{
"data": {
"name": "my-function"
}
}